package com.frejoys.common.enums;

import java.util.List;
import java.util.stream.Stream;

public enum EUserCashType {

    wxImg(1), // 微信收款图
    alipay(2);//支付宝账号

    private Integer value;

    EUserCashType(Integer value) {
        this.value = value;
    }

    public Integer getValue() {
        return this.value;
    }

    public static List<Integer> getValues() {
        return Stream.of(EUserRole.values()).map(EUserRole::getValue).toList();
    }
}
